package cn.t.repository.order;

import cn.t.core.repoistory.impl.IRepository;
import cn.t.model.order.WorkOrderDetailDO;

import java.util.List;

/**
 * 工单明细表(WorkOrderDetail)领域仓库
 *
 * @author t
 * @since 2024-05-24 10:19:12
 */
public interface WorkOrderDetailRepository extends IRepository<WorkOrderDetailDO> {
     Boolean updateBatchList(List<WorkOrderDetailDO> exceptionLogList);

     /**
      * 通过接口的方式创建工单详情不能用公共填充处理 （方法名不能以 add / update开头）
      */
     Boolean addBatch(List<WorkOrderDetailDO> workOrderDetailDOS);

     Boolean conditionUpdate(String workOrderSn, WorkOrderDetailDO workOrderDetailDO);
}
